function formatPic(w){
var _imgs = _text.getElementsByTagName("IMG");
var _tabs = _text.getElementsByTagName("TABLE");
for (i=0;i<_imgs.length;i++){if (_imgs[i].scrollWidth > w){
_imgs[i].width = w;_imgs[i].onclick= showPic;_imgs[i].style.cursor="pointer"; _imgs[i].alt="点击放大"; }}
for (i=0;i<_tabs.length;i++){if (_tabs[i].width > w){_tabs[i].width = w;}}}
function showPic(){window.open("/s/pic.html?"+this.src);}
